<?php include 'header.php'; ?>
<table>
  <thead>
    <tr>
      <th>Title</th>
      <th>Creation</th>
      <th>Due date</th>
      <th>Planned date</th>
      <th>Completed</th>
    </tr>
  </thead>
  <tbody>
  <?php
  foreach ($task_list as $task)
  {
    echo "";
    echo ''.$task->title."";
    echo "".$task->created."";
    echo "".$task->duedate."";
    echo "";    
  }
  ?>
  </tbody>
</table>
 
<?php echo "".html::anchor("task/add","Add new task"); ?>
 
<?php include "footer.php"; ?>